import type { App } from 'vue';
import {
  Input,
  InputNumber,
  Select,
  DatePicker,
  TimePicker,
  AutoComplete,
  Cascader,
  Mentions,
  Rate,
  Slider,
  Switch,
  Transfer,
  TreeSelect,
  Upload,
  } from 'ant-design-vue';


export function registerAntdComp(app: App) {
  app
  .use(Input)
  .use(InputNumber)
  .use(Select)
  .use(DatePicker)
  .use(AutoComplete)
  .use(Cascader)
  .use(Mentions)
  .use(Rate)
  .use(Slider)
  .use(Switch)
  .use(Transfer)
  .use(TreeSelect)
  .use(Upload)
  .use(TimePicker);
}
